package com.example.braden.answergame.modules.main.domain;

import java.util.List;

/**
 * Created by braden on 2018/3/30.
 */

public class UserPropInfo extends BaseMessage{
    private BodyBean body;

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * rid : 8f6162d7605cfa6d12586022e4c96b88
         * gameid : a5e36294cffc20e6dffc3d5bc73fc407
         * users : [{"open_id":"d524edbc33fda1b2832128ef53f97586","nick_name":"波波用户test1111111","face_img":"http://xxx/ddd.jpg","balance":666},{"open_id":"1871d2d652b88391dd30cd4577b70b1a","nick_name":"波波用户test1111112","face_img":"http://xxx/ddd.jpg","balance":666}]
         * props : [{"prop_id":21,"title":"复活卡","icon":"http://xx/2.jpg","desc":"复活一次","level":1,"count":99,"price":5,"key":"datifuhuo","game_count":1},{"prop_id":32,"title":"排除卡","icon":"http://xx/3.jpg","desc":"排除一个错误答案","level":1,"count":99,"price":5,"key":"datixuanxiang","game_count":1},{"prop_id":33,"title":"延时卡","icon":"http://xx/4.jpg","desc":"延时答题时间5秒","level":1,"count":99,"price":5,"key":"datishengming","game_count":1}]
         */

        private String rid;
        private String gameid;
        private List<UsersBean> users;
        private List<PropsBean> props;

        public String getRid() {
            return rid;
        }

        public void setRid(String rid) {
            this.rid = rid;
        }

        public String getGameid() {
            return gameid;
        }

        public void setGameid(String gameid) {
            this.gameid = gameid;
        }

        public List<UsersBean> getUsers() {
            return users;
        }

        public void setUsers(List<UsersBean> users) {
            this.users = users;
        }

        public List<PropsBean> getProps() {
            return props;
        }

        public void setProps(List<PropsBean> props) {
            this.props = props;
        }

        public static class UsersBean {
            /**
             * open_id : d524edbc33fda1b2832128ef53f97586
             * nick_name : 波波用户test1111111
             * face_img : http://xxx/ddd.jpg
             * balance : 666
             */

            private String open_id;
            private String nick_name;
            private String face_img;
            private int balance;

            public String getOpen_id() {
                return open_id;
            }

            public void setOpen_id(String open_id) {
                this.open_id = open_id;
            }

            public String getNick_name() {
                return nick_name;
            }

            public void setNick_name(String nick_name) {
                this.nick_name = nick_name;
            }

            public String getFace_img() {
                return face_img;
            }

            public void setFace_img(String face_img) {
                this.face_img = face_img;
            }

            public int getBalance() {
                return balance;
            }

            public void setBalance(int balance) {
                this.balance = balance;
            }
        }

        public static class PropsBean {
            /**
             * prop_id : 21
             * title : 复活卡
             * icon : http://xx/2.jpg
             * desc : 复活一次
             * level : 1
             * count : 99
             * price : 5
             * key : datifuhuo
             * game_count : 1
             */

            private int prop_id;
            private String title;
            private String icon;
            private String desc;
            private int level;
            private int count;
            private int price;
            private String key;
            private int game_count;

            public int getProp_id() {
                return prop_id;
            }

            public void setProp_id(int prop_id) {
                this.prop_id = prop_id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public int getGame_count() {
                return game_count;
            }

            public void setGame_count(int game_count) {
                this.game_count = game_count;
            }
        }
    }
}
